//
//  UIViewController+MSAlertController.h
//  MSJD
//
//  Created by 箭军刘 on 2018/11/2.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (MSAlertController)

- (void)showAlertControllerWithTitle:(NSString *)title
                             message:(NSString *)message
                       confirmButton:(NSString *)confirmButton
                        cancelButton:(NSString *)cancelButton
                   confirmClickBlock:(void (^)(void))clickBlock
                    cancelClickBlock:(void (^)(void))cancelBlock;


- (void)showActionSheetWithTitle:(NSString *)title
                         message:(NSString *)message
                    buttonTitles:(NSArray *)buttonTitles
                    cancelButton:(NSString *)cancelButton
                       clickView:(UIButton *)clickView
               confirmClickBlock:(void (^)(NSInteger buttonIndex))clickBlock
                     cancelBlock:(void (^)(void))cancelBlock;

@end

NS_ASSUME_NONNULL_END
